package com.itheima.health.dao;

import com.github.pagehelper.Page;
import com.itheima.health.pojo.entity.CheckGroup;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CheckGroupDao {
    void add(CheckGroup checkGroup);

    Page<CheckGroup> selectByConditon(String queryString);

    CheckGroup findCheckGroupById(Integer id);

    void update(CheckGroup checkGroup);

    void deletByGroupId(Integer id);

    List<CheckGroup> findAll();
}
